
#include <BScreen>
#include <BSystem>
#include <BApplication>

#include "GameView.h"

int main(int argc, char** argv)
{
	BApplication app(argc, argv);
	app.setStyleSheet("data/style/graphics.css");

	GameView gview;
	gview.show();

	BScreen* screen = BSystem::GetScreen(0);
	BSize size = screen->size() % 80;
	BRect rect = screen->rect().align(Align_Center, size);
	gview.setRect(rect);

	return app.execute();
}